SetPolygon
TheSetPolygon
method modifies this shape to make it equivalent to the specified polygon.
ODShape SetPolygon (in ODPolygon polygon);
polygon
- A valid polygon.
- return value
- A reference to this shape after it has been changed to be equivalent to the specified polygon.
DISCUSSION
After this method executes successfully, you are still responsible for deleting the original polygon; this shape does not use or modify it.If the specified polygon is self-intersecting, certain methods, such as
Intersect
,Union
,Subtract
, andOutset
, will probably simplify the polygon by removing the areas of self intersection.SEE ALSO
TheODPolygon
type (page 886).
TheODShape::CopyPolygon
method (page 635).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help